
from flask_restful import Resource

from controllers.errors.error import WeChatLoginParameterError
from controllers.errors.fun_domain_errors import HTTPFunDomainParamError
from controllers.mini_app import api
from services.robot.robot_remote_service import RobotRemoteService
from services.weather.weather_service import WeatherService
# WeatherService.init()
class testApi(Resource):
    def get(self):
        return WeatherService.get_weather_by_robot("a0:85:e3:fb:45:64","","192.168.124.172")
        # return RobotRemoteService.is_ready_to_active("98:a3:16:f2:f8:10")
    
api.add_resource(testApi, "/test")